package tgc.edu.xzy.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.xzy.custom.CommonService;
import tgc.edu.xzy.entity.Lessee;
import tgc.edu.xzy.repostory.ZhRepostory;

@Service
public class ZhService extends CommonService<Lessee, Integer>{
	@Autowired
	private ZhRepostory zhDAO;

	public List<Lessee> findByLesseeAdminId(Integer id) {
		return zhDAO.findByLesseeAdminId(id);
	}
}
